﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Com.Toook.ParseHtml.Enum
{
    /// <summary>
    /// 解析网页返回的结果类型
    /// </summary>
    public enum ResultType
    {
        /// <summary>
        /// 不是结果节点。XML配置文件中没有设置类型，将Step的类型设置为此类型
        /// </summary>
        NotResult,
        /// <summary>
        /// 属性值
        /// </summary>
        Attr,
        /// <summary>
        /// 文本值
        /// </summary>
        Text,
        /// <summary>
        /// html
        /// </summary>
        Html,
        /// <summary>
        /// value值
        /// </summary>
        Value,
        /// <summary>
        /// 外层html
        /// </summary>
        OuterHtml,
        /// <summary>
        /// 自身的文本
        /// </summary>
        OwnText,
        /// <summary>
        /// 父元素
        /// </summary>
        ParentElement,
        /// <summary>
        /// 数据 Gets the combined data of this element. Data is e.g. the inside of a <code>script</code> tag.
        /// </summary>
        Data
    }
}
